﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/TemplateAdmin.Master" AutoEventWireup="true"
    CodeBehind="adduser.aspx.cs" Inherits="ProjectSem3.admin.WebForm13" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="wrap" value="Registrar">
        <%--   <div id="header">
            <h1>
                Thong tin lien he</h1>
            <span id="spanMessage" runat="server" style="color: Red; font-weight: bold;"></span>
        </div>--%>
    </div>
    <asp:Label ID="Labelketqua" runat="server" Text="Label"></asp:Label>
    <ul id="contactform">
        <li>
            <label for="name">
                First Name*<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
                    ErrorMessage="RequiredFieldValidator" Display="Dynamic" Text="Khong duoc rong"
                    ControlToValidate="firstname"></asp:RequiredFieldValidator></label>
            <span class="fieldbox">
                <input type="text" name="name" id="firstname" value="" runat="server" /></span>
        </li>
        <li>
            <label for="name">
                Last Name*<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
                    ErrorMessage="RequiredFieldValidator" Display="Dynamic" Text="Khong duoc rong"
                    ControlToValidate="lastname"></asp:RequiredFieldValidator></label>
            <span class="fieldbox">
                <input type="text" name="name" id="lastname" value="" runat="server" /></span>
        </li>
        <li>
            <label for="name">
                UserName*<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
                    ErrorMessage="RequiredFieldValidator" Display="Dynamic" Text="Khong duoc rong"
                    ControlToValidate="username"></asp:RequiredFieldValidator></label>
            <span class="fieldbox">
                <input type="text" name="name" id="username" value="" runat="server" /></span>
        </li>
        <li>
            <label for="name">
                Password*<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server"
                    ErrorMessage="RequiredFieldValidator" Display="Dynamic" Text="Khong duoc rong"
                    ControlToValidate="Password"></asp:RequiredFieldValidator></label>
            <span class="fieldbox">
                <input id="Password" type="password" name="password" runat="server" value="" />
            </span></li>
        <li>
            <label for="name">
                Re- Password*<asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server"
                    ErrorMessage="RequiredFieldValidator" Display="Dynamic" Text="Khong duoc rong"
                    ControlToValidate="rePassword"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="Password"
                    ControlToValidate="rePassword" Display="Dynamic" ErrorMessage="The password you entered do not match"></asp:CompareValidator>
            </label>
            <span class="fieldbox">
                <input id="rePassword" type="password" name="password" runat="server" value="" />
            </span></li>
        <li>
            <label for="name">
                Salary*<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="RequiredFieldValidator"
                    Display="Dynamic" Text="Khong duoc rong" ControlToValidate="salary"></asp:RequiredFieldValidator></label>
            <span class="fieldbox">
                <input type="text" name="salary" id="salary" value="" runat="server" /></span>
        </li>
        <li>
            <label for="name">
                Contact No*<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server"
                    ErrorMessage="RequiredFieldValidator" Display="Dynamic" Text="Khong duoc rong"
                    ControlToValidate="contactno"></asp:RequiredFieldValidator></label>
            <span class="fieldbox">
                <input type="text" name="name" id="contactno" value="" runat="server" /></span>
        </li>
        <li>
            <label for="name">
                Country *<asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server"
                    ErrorMessage="RequiredFieldValidator" Display="Dynamic" Text="Khong duoc rong"
                    ControlToValidate="country"></asp:RequiredFieldValidator></label>
            <span class="fieldbox">
                <input type="text" name="name" id="country" value="" runat="server" /></span>
        </li>
        <li>
            <label for="name">
                City *<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ErrorMessage="RequiredFieldValidator"
                    Display="Dynamic" Text="Khong duoc rong" ControlToValidate="city"></asp:RequiredFieldValidator></label>
            <span class="fieldbox">
                <input type="text" name="name" id="city" value="" runat="server" /></span>
        </li>
        <li>
            <label for="msg">
                Address *</label>
            <span class="msgbox">
                <textarea class="area" id="address" name="msg" rows="8" cols="30" runat="server"></textarea></span></li>
        
    </ul>
    

    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="submit" value="Registrar" id="buttonRegistrar" name="buttonRegistrar"
        runat="server" onserverclick="buttonRegistrar_Click" />
</asp:Content>
